package com.jiaai.cloud.wx.service.impl;

import com.jiaai.cloud.wx.entity.TWxcomment;
import com.jiaai.cloud.wx.mapper.TWxcommentMapper;
import com.jiaai.cloud.wx.service.ITWxcommentService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-08-31
 */
@Service
public class TWxcommentServiceImpl extends ServiceImpl<TWxcommentMapper, TWxcomment> implements ITWxcommentService {

    @Autowired
    private TWxcommentMapper tWxcommentMapper;

    @Override
    public TWxcomment selectComUser(Integer id) {
        return tWxcommentMapper.selectComUser(id);
    }

    @Override
    public List<TWxcomment> selectShopCom(Integer shopid) {
        return tWxcommentMapper.selectShopCom(shopid);
    }
}
